[INFO] fetching crate libusb-native 0.1.0...
[INFO] checking libusb-native-0.1.0 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate libusb-native 0.1.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate libusb-native 0.1.0 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libusb-native 0.1.0
[INFO] finished tweaking crates.io crate libusb-native 0.1.0
[INFO] tweaked toml for crates.io crate libusb-native 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf9ee6da8a0547ce65204af97c3552191db7f8e09e4ca407f621e5ef275ceae0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cf9ee6da8a0547ce65204af97c3552191db7f8e09e4ca407f621e5ef275ceae0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf9ee6da8a0547ce65204af97c3552191db7f8e09e4ca407f621e5ef275ceae0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf9ee6da8a0547ce65204af97c3552191db7f8e09e4ca407f621e5ef275ceae0", kill_on_drop: false }`
[INFO] [stdout] cf9ee6da8a0547ce65204af97c3552191db7f8e09e4ca407f621e5ef275ceae0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6d172fb64704405b711f862843f44b579954e61707424304b1a933cab9aa889
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e6d172fb64704405b711f862843f44b579954e61707424304b1a933cab9aa889", kill_on_drop: false }`
[INFO] [stderr]     Checking libusb-native v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/descriptor.rs:1218:18
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/descriptor.rs:1425:34
[INFO] [stdout]      |
[INFO] [stdout] 1425 |                     len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/descriptor.rs:1661:22
[INFO] [stdout]      |
[INFO] [stdout] 1661 |         len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/descriptor.rs:1218:18
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/descriptor.rs:1425:34
[INFO] [stdout]      |
[INFO] [stdout] 1425 |                     len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/descriptor.rs:1661:22
[INFO] [stdout]      |
[INFO] [stdout] 1661 |         len = buffer.wrapping_offset_from(begin) as libc::c_long as libc::c_int;
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut usbfs_urb` in the current scope
[INFO] [stdout]     --> src/os/linux_usbfs.rs:4813:13
[INFO] [stdout]      |
[INFO] [stdout] 4813 |         urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/os/linux_usbfs.rs:4877:59
[INFO] [stdout]      |
[INFO] [stdout] 4877 |                     ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer)
[INFO] [stdout]      |                                                           ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/os/linux_usbfs.rs:4879:28
[INFO] [stdout]      |
[INFO] [stdout] 4879 |                     target.wrapping_offset_from((*transfer).buffer) as libc::c_long,
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libusb-native`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut usbfs_urb` in the current scope
[INFO] [stdout]     --> src/os/linux_usbfs.rs:4813:13
[INFO] [stdout]      |
[INFO] [stdout] 4813 |         urb.wrapping_offset_from((*tpriv).c2rust_unnamed.urbs) as libc::c_long as libc::c_int;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/os/linux_usbfs.rs:4877:59
[INFO] [stdout]      |
[INFO] [stdout] 4877 |                     ((*urb).buffer as *mut libc::c_uchar).wrapping_offset_from((*transfer).buffer)
[INFO] [stdout]      |                                                           ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut u8` in the current scope
[INFO] [stdout]     --> src/os/linux_usbfs.rs:4879:28
[INFO] [stdout]      |
[INFO] [stdout] 4879 |                     target.wrapping_offset_from((*transfer).buffer) as libc::c_long,
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]      |
[INFO] [stdout]      = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]      = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e6d172fb64704405b711f862843f44b579954e61707424304b1a933cab9aa889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6d172fb64704405b711f862843f44b579954e61707424304b1a933cab9aa889", kill_on_drop: false }`
[INFO] [stdout] e6d172fb64704405b711f862843f44b579954e61707424304b1a933cab9aa889
